package la.iok.hzsvn.lewin.movie.shopmovie.model;

import java.util.Objects;

public class PlayerFeePayParam {
    private Long id;
    private Long version;
    /**
     * 支付方式。1：会员支付；2：美团支付；3：微信支付；4：支付宝支付。未支付时为0
     * 支付方式修改为：1.会员收款；2：美团收款；3：微信收款；4：其他平台收款；5：其他店铺收款
     */
    private Integer payType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof PlayerFeePayParam)) return false;
        PlayerFeePayParam param = (PlayerFeePayParam) o;
        return Objects.equals(id, param.id) && Objects.equals(version, param.version) && Objects.equals(payType, param.payType);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, version, payType);
    }
}
